package start.spring.basic.filter;

public class BaseFilter {
	
	/**
	 * 请求链路跟踪唯一标志
	 */
	protected final String REQUEST_KEY_TRACEID = "traceId";
	
	/**
	 * 不过滤的静态资源类型
	 */
	protected final String[] EXCLUDE_STATIC = new String[] {
			".css",".js",".png",".gif",".jpg",".eto",".svg",".ttf",".woff",".html"};
	
	/**
	 * 需要记录的请求头
	 */
	protected final String[] REQUEST_HEADER = {"referer","user-agent"};
	
	/**
	 * post请求
	 */
	protected final String REQUEST_POST = "POST";
	
	/**
	 * 不记录请求参数的请求关键字
	 */
	protected final String[] REQUEST_KEY_NODETAIL = {"upload","import"};
	
	/**
	 * 不记录响应结果的请求关键字
	 */
	protected final String[] RESPONSE_KEY_NODETAIL = {"download","export"};
	
	
	
}
